package com.bjsxt.livegoods.comment.service.controller;

import com.bjsxt.livegoods.comment.service.service.CommentService;
import com.bjsxt.livegoods.comment.serviceapi.CommentServiceAPI;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

@RestController
public class CommentServiceController implements CommentServiceAPI {

    @Autowired
    private CommentService commentService;
    @Override
    public Map<String, Object> findComments(String id, int page) {
        return commentService.findComments(id,page);
    }
}
